package com.qf.controller;

import com.qf.service.TransferService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RequestMapping("/transfer")
@RestController
public class TransferController {


    @Autowired
    TransferService transferService;

    @RequestMapping("/receive")
    public String transfer(@RequestBody Map map){
       return transferService.transfer(map);
    }
}
